package com.tbryant.test.designpattern.cainiaocourse.decorator;

/**
 * @author TBryant
 * @date 2021/8/25 15:30
 */
public abstract class ShapeDecorator implements Shape {
    protected Shape decoratedShape;

    public ShapeDecorator(Shape decoratedShape){
        this.decoratedShape = decoratedShape;
    }

    public void draw(){
        decoratedShape.draw();
    }
}
